package com.buba.commodity.servicec.impl;

import com.buba.commodity.pojo.ProductImage;
import com.buba.commodity.service.ProductImageService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("productImageServiceImpl")
public class ProductImageServiceImpl implements ProductImageService {
    @DubboReference //@Reference 用在消费端，表明使用的是服务端的什么服务
    private ProductImageService productImageService;


    @Override
    public List<ProductImage> selProductImage() {
        return productImageService.selProductImage();
    }
}
